<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	template="/WEB-INF/component/input.xhtml">

	<ui:define name="inputComponent">
		<h:inputText id="#{inputId}" value="#{inputValue}" styleClass="#{component.valid ? 'inputValid' : 'inputInvalid'} #{inputStyleClass}">
			<ui:insert name="inputChildren" />
			<f:validateBean for="#{inputId}" />
			<f:ajax event="blur" render="@this #{inputId}Message #{render}" />
		</h:inputText>
	</ui:define>

</ui:composition>
